border-image: add support for border-image-width too
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 9 Jun 2011 23:59:14 +0000 (19:59 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Fri, 10 Jun 2011 00:01:57 +0000 (20:01 -0400)
commit3d1407a01a1e772f8b042801bbbde95ae1e16f9a
treecbfca30866153152e179a14a1c435e2569273430
parent5fcf9ae09e8ce43f5c51a1b1ed4402ae30b9e1f0
border-image: add support for border-image-width too

It's useful to set a slice size != border-width, as backgrounds are
clipped to border-width too.

As slices can be half-transparent and overlap the background,
this would not fill the border box properly if we only use a single
property for specifying the width.

Also, this brings us even closer to CSS3.
gtk/gtkborderimage.c
gtk/gtkborderimageprivate.h
gtk/gtkcssprovider.c
gtk/gtkstyleproperty.c